package com.example.webdemo.dao;

import com.example.webdemo.entity.UserJpa;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserJpaRepository extends JpaRepository<UserJpa, Long> {
    List<UserJpa> findByName(String name);
}
